#ifndef __UTILS_FUNCS_HPP__
#define __UTILS_FUNCS_HPP__
#include "myfastdo/myfastdo_server.hpp"
#include "myfastdo/user.hpp"

#define HAS_USER(__user_name__) (0 < static_cast<int>(SERV.getDBH("tileblog").query("select count(*) from users where name=?", STATMENTS(__user_name__), DBH::Count)))

#endif // __UTILS_FUNCS_HPP__